package xyz.xiezc.spider.statistic;

import xyz.xiezc.spider.common.XBean;

/**
 * @author wb-xzc291800
 * @date 2019/04/11 14:08
 */

public interface Statistic {


    Statistic dealSeedUrls();

    Statistic addSeedUrl(String url);

    Statistic addCommonHeader(String key, String val);

    /**
     * 从文件系统中回复数据, 要充分利用文件,提高性能
     *
     * @return
     */
    Statistic recover();

    Statistic checkStop(XBean xBean);
}
